package com.itheima.dto;

import com.itheima.entity.YddArticle;
import com.itheima.entity.YddUser;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

@Data
public class BaseInfoDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private int admin_num; //管理员总数

    private int advimg_num; //广告图总数

    private int advpos_num; //广告位总数

    private List<YddCateDto> all_cate; //所有分类数据

    private int article_num; //文章总数

    private int cate_num; //分类总数

    private List<YddArticle> hot_article; //热门文章数据

    private List<YddUser> new_user; //最新用户数据

    private int tag_num; //标签总数

    private Map<String, Integer> user; // 用户总数 男用户数量 女用户数量
}
